const http = uni.$u.http
//微信登录接口
export const login = (data) => http.post('/wxLogin', data)
//获取用户信息
export const getwxUser = (custom) => http.get('/hdMp/wxUser',{custom:{auth:true}})
export const saveWxUser =(data,custom)=>http.put('/hdMp/wxUser',{...data},{custom:{auth:true}})

//头像上传
export const uploadAwart = (data) => http.upload('/common/uploadCTOss',{filePath:data,name:'file' ,custom: {auth: true}})




